package com.lhf.legalPlant.model;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.lhf.error.ErrorMessageVo;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author 尐痞猫
 * @date2021-06-26 1:19
 */
@Data
public class FactoryUpdateStatusVo {
    @NotBlank(message= ErrorMessageVo.BIANMABUNENGWEIKONG)
    private String  legalPlantCode;
    @NotNull(message= ErrorMessageVo.ZHUANGTAIBUNENGWEIKONG)
    @JsonProperty("enabled")
    private Boolean enabled;


}
